package com.liming.common.pojo.dto.coupon;

import com.liming.common.pojo.dto.PageDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liming
 * @date 2025/3/7
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "优惠券分页查询参数")
public class CouponPageQuery extends PageDTO {

    @Schema(description = "优惠券名称")
    private String name;

    @Schema(description = "优惠券类型（1 满减券， 2 折扣券）")
    private Integer discountType;

    @Schema(description = "优惠券状态（1 可用， 2 不可用）")
    private Integer available;
}
